package views.others;



import views.slidingMenu.HorzScrollWithActivityMenu;
import views.slidingMenu.R;

import views.slidingMenu.R.id;
import views.slidingMenu.R.layout;
import android.app.Activity;
import android.graphics.Bitmap;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.ListView;
import android.widget.TextView;

public class Stub extends Activity {

	public static int ACTIVITY_NO = 5;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		//requestWindowFeature(Window.FEATURE_NO_TITLE);
		requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
		//set content
		LayoutInflater inflater = LayoutInflater.from(this);
		View app = inflater.inflate(R.layout.activity_stub, null);
		setContentView(app);
		//set title bar
		getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE,
				R.layout.window_title);
		TextView title = (TextView) findViewById(R.id.title);
		title.setText("Stub");
		findViewById(R.id.header).setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				Stub.this.onBackPressed();
			}
		});
		

		overridePendingTransition( R.anim.inright, R.anim.outleft);
	}
	@Override
	public void onBackPressed() {
		super.onBackPressed();
		overridePendingTransition( R.anim.left, R.anim.right);
		 
		
	}



	
}
